package org.blog.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "标签表")
@TableName(value = "blog_tag")
public class BlogTag extends BaseColumn {
    @ApiModelProperty(value = "标签表主键")
    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "标签名称")
    @TableField(value = "tag_name")
    private String tagName;

    @ApiModelProperty(value = "标签描述")
    @TableField(value = "tag_description")
    private String tagDescription;
}

